package org.edu.zzu.health_report.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.edu.zzu.health_report.domain.Record;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author 高朋
* @description 针对表【record(打卡记录表)】的数据库操作Mapper
* @createDate 2021-11-08 16:18:21
* @Entity org.edu.zzu.health_report.domain.Record
*/
@Mapper
public interface RecordMapper extends BaseMapper<Record> {

    Record selectByDate(String userId,Long createDate);

    int deleteByPrimaryKey(Integer id);

    @Override
    int insert(Record record);

    int insertSelective(Record record);

   Record selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Record record);

    int updateByPrimaryKey(Record record);
}




